package com.ruoyi.project.user.company.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 婚庆公司管理对象
 */
public class Company implements Serializable {

    /** 婚庆公司ID */
    private Integer companyId;

    /** 婚庆公司手机号（登录账号） */
    @Excel(name = "婚庆公司手机号", readConverterExp = "登=录账号")
    private String companyPhone;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 责任人 */
    @Excel(name = "责任人")
    private String companyPerson;

    /** 法人 */
    @Excel(name = "法人")
    private String companyBoss;

    /** 公司邮箱 */
    @Excel(name = "公司邮箱")
    private String companyEmail;

    /** 注册时间 */
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date companyDate;

    /** 公司链接 */
    @Excel(name = "公司链接")
    private String companyLink;

    /** 账号状态（0未审核，1正常，2禁用） */
    @Excel(name = "账号状态", readConverterExp = "0=未审核，1正常，2禁用")
    private Integer companyState;

    /** 婚庆公司在user_id */
    @Excel(name = "婚庆公司在user_id")
    private Long companyUserId;

    public void setCompanyId(Integer companyId)
    {
        this.companyId = companyId;
    }

    public Integer getCompanyId()
    {
        return companyId;
    }
    public void setCompanyPhone(String companyPhone)
    {
        this.companyPhone = companyPhone;
    }

    public String getCompanyPhone()
    {
        return companyPhone;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setCompanyPerson(String companyPerson)
    {
        this.companyPerson = companyPerson;
    }

    public String getCompanyPerson()
    {
        return companyPerson;
    }
    public void setCompanyBoss(String companyBoss)
    {
        this.companyBoss = companyBoss;
    }

    public String getCompanyBoss()
    {
        return companyBoss;
    }
    public void setCompanyEmail(String companyEmail)
    {
        this.companyEmail = companyEmail;
    }

    public String getCompanyEmail()
    {
        return companyEmail;
    }
    public void setCompanyDate(Date companyDate)
    {
        this.companyDate = companyDate;
    }

    public Date getCompanyDate()
    {
        return companyDate;
    }
    public void setCompanyLink(String companyLink)
    {
        this.companyLink = companyLink;
    }

    public String getCompanyLink()
    {
        return companyLink;
    }
    public void setCompanyState(Integer companyState)
    {
        this.companyState = companyState;
    }

    public Integer getCompanyState()
    {
        return companyState;
    }
    public void setCompanyUserId(Long companyUserId)
    {
        this.companyUserId = companyUserId;
    }

    public Long getCompanyUserId()
    {
        return companyUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("companyId", getCompanyId())
                .append("companyPhone", getCompanyPhone())
                .append("companyName", getCompanyName())
                .append("companyPerson", getCompanyPerson())
                .append("companyBoss", getCompanyBoss())
                .append("companyEmail", getCompanyEmail())
                .append("companyDate", getCompanyDate())
                .append("companyLink", getCompanyLink())
                .append("companyState", getCompanyState())
                .append("companyUserId", getCompanyUserId())
                .toString();
    }

}
